<style type="text/css" rel="stylesheet">
    form {
        margin: 0;
        }
        .editor {
        margin-top: 5px;
        margin-bottom: 5px;
        }
        .ke-content {
        font-family: Courier New;
        font-size: 12px;
        background-color: #ffffff;
    }

</style>

﻿<p class="smallNav">普通测试管理 >> 创建测试 >></p>
<br/>
<% form_for(:survey, :url => { :action => "create" }) do |f| %>
  <p>
    <%= f.label "测试名称" %>
    <%= f.text_field :name %>
    <%= error_message_on :survey, :name %>
  </p>
  <input type="hidden" name="survey[user_id]" value="<%=session[CURRENT_USER_ID]%>">
  <p>
    <%= f.label "说明" %><br />
    <%= f.text_area :description, :style=>"width:600px;height:200px;" %>
    <%=error_message_on :survey, :description%>
  </p><br/>

  <p>
    <%= f.submit "保存" %>
  </p>
<% end %>

